

package com.px.pa.modulars.news.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.px.basic.alone.core.base.BaseModel;

import javax.validation.constraints.*;

/**
 * 栏目
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
@TableName("circle_news_column")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "栏目")
public class CircleNewsColumn extends BaseModel<CircleNewsColumn> {
    private static final long serialVersionUID = 1L;

    /**
     * 栏目名称
     */
    @Size(max = 255, message = "栏目名称超出长度255的限制")
    @ApiModelProperty(value = "栏目名称")
    private String columnName;
    /**
     * 栏目图
     */
    @Size(max = 500, message = "栏目图超出长度500的限制")
    @ApiModelProperty(value = "栏目图")
    private String columnImg;
    /**
     * 租户编码
     */
    @Size(max = 255, message = "租户编码超出长度255的限制")
    @ApiModelProperty(value = "租户编码")
    private String tenantCode;
}
